!define VERSION "0.4.0_Beta"

# Installer
outFile "CumulusCloud-${VERSION}.exe"

# Configuration
InstallDir c:\CumulusCloud
InstallDirRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\CumulusCloud" "UninstallString"
Name CumulusCloud
LicenseData ../LICENSE.txt
BrandingText /TRIMLEFT 'CumulusCloud ${VERSION}'
Var isUpdate

# Procedure
Page license skipIfUpdate
Page directory skipIfUpdate
Page instfiles

UninstPage uninstConfirm
UninstPage instfiles

# Execution
!include Prerequisites.nsh
!include InstallFilesIncluded.nsh
!include Uninstall.nsh
